package org.nstack.header.storage.backup;

import org.nstack.header.message.APIReply;
import org.nstack.header.rest.RestResponse;

import java.util.List;

import static java.util.Arrays.asList;



@RestResponse(fieldsTo = {"types=backupStorageTypes"})
public class APIGetBackupStorageTypesReply extends APIReply {

    private List<String> backupStorageTypes;

    public List<String> getBackupStorageTypes() {
        return backupStorageTypes;
    }

    public void setBackupStorageTypes(List<String> backupStorageTypes) {
        this.backupStorageTypes = backupStorageTypes;
    }
 
    public static APIGetBackupStorageTypesReply __example__() {
        APIGetBackupStorageTypesReply reply = new APIGetBackupStorageTypesReply();

        reply.setBackupStorageTypes(asList("Ceph", "ImageStore"));

        return reply;
    }

}
